.PHONY: clean

CC=gcc

all: campos.o loadImage.o 
	$(CC) campos.o loadImage.o -o campos -lglut -lm -lSDL_mixer

loadImage.o: loadImage.c
	$(CC) -c loadImage.c

campos.o: campos.c 
	$(CC) -c campos.c

clean:
	@rm *.o campos

run:
	./campos

